﻿<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="CityFly">
    <xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
  <xsl:param name="rowcount"/>			<!--数据库总记录数-->
  <xsl:param name="maxrow"/>				<!--每页记录数-->
  <xsl:param name="curpage"/>				<!--当前页码-->
  <xsl:param name="param"/>					<!--引入 param 参数-->
  <xsl:param name="templatename"/>	<!--Label.xml 模块名称-->
  <xsl:param name="orderby"/>				<!--Label.xml orderby 参数-->
  <xsl:param name="where"/>					<!--Label.xml where 参数-->
  <xsl:param name="runtime"/>				<!--运行时长-->
  <msxsl:script language="javascript" implements-prefix="user">
    function StrSplit(Str,splitChar,n){
    if(Str.length=0){return '1'}
    var a=Str.replace(/'/g,"").split(splitChar);
    if(n&lt;a.length){
    if(a[n].length==0)return '1';
    return a[n];
    }
    return '1';
    }</msxsl:script>
  <xsl:template match="/">
    <table width="98%" border="0" align="center" cellpadding="3" cellspacing="0" class="bb" >
      <tr>
        <td align="left" nowrap="nowrap">&nbsp;<a name="edit"/><b class="f14"><font color="#000000">
          <xsl:if test="count(rows/row)=0">
            添加
          </xsl:if>
          <xsl:if test="count(rows/row)>0">
            修改
          </xsl:if>
          供求信息</font></b>&nbsp;</td>
        <td align="right" nowrap="nowrap">&nbsp;</td>
      </tr>
    </table>
    <table class="f9" id="001" style="PADDING-TOP: 5px; " 
cellspacing="1" cellpadding="3" width="95%" align="center" border="0">
      <form id="form1" name="form1" method="post" action="">
        <tbody>
          <tr bgcolor="#ffffff">
            <td width="80" align="left">岗位名称</td>
            <td align="middle" width="10"><font color="#ff0000">*</font></td>
            <td align="left" width="350"><input class="input" id="JobName" maxlength="24" 
      size="25" name="JobName" >
              <xsl:attribute name="value"><xsl:value-of select="rows/row/JobName"/></xsl:attribute>
              </input>
              <font color="#9e9e9e">&nbsp;12个汉字以内</font></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">所属部门</td>
            <td align="middle"><font color="#ff0000">&nbsp;</font></td>
            <td align="left"><input class="input" id="Dept" maxlength="60" size="30" name="Dept"  >
              <xsl:attribute name="value"><xsl:value-of select="rows/row/Dept"/></xsl:attribute>
              </input>
              <font color="#9e9e9e">如&quot;研发部&quot;等</font></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">工作性质</td>
            <td align="middle"><font color="#ff0000">*</font></td>
            <td align="left" width="350"><select class="inputbox" id="WorkType" 
      style="WIDTH: 60px" name="WorkType">
                <option value="1" selected="selected">全职</option>
                <option value="2">兼职</option>
                <option value="3">实习</option>
              </select></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">性别要求</td>
            <td align="middle"><font color="#ff0000">*</font></td>
            <td align="left"><select class="inputbox" id="Sex" style="WIDTH: 50px" name="Sex">
                <option value="0" selected="selected">不限</option>
                <option value="1">女</option>
                <option 
        value="2">男</option>
              </select>
              <font color="#9e9e9e">默认为“不限”</font></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">年龄要求</td>
            <td align="middle"><font color="#ff0000">&nbsp;</font></td>
            <td align="left"><p>
                <input class="input" id="Age1" maxlength="2" size="2" 
      value="0" name="Age1"  >
                <xsl:attribute name="value"><xsl:value-of select="rows/row/Age1"/></xsl:attribute>
                </input>
                -
                <input class="input" id="Age2" maxlength="2" size="2" value="0" name="Age2"  >
                <xsl:attribute name="value"><xsl:value-of select="rows/row/Age2"/></xsl:attribute>
                </input>
                <font 
      color="#9e9e9e">两项都是0表示&quot;不限&quot;,后一项为0</font><font 
    color="#9e9e9e">表示&quot;以上&quot;</font></p></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">每月薪水</td>
            <td align="middle"><font color="#ff0000">*</font></td>
            <td align="left"><font color="#9e9e9e">
              <input id="SalaryCode" 
      onblur="javascript:if(this.value.replace(/ /gi,'')=='')this.value='面议';" 
      onfocus="javascript:if(this.value=='面议')this.value='';" value="面议" 
      name="SalaryCode"  >
              <xsl:attribute name="value"><xsl:value-of select="rows/row/JobName"/></xsl:attribute>
              </input>
              元&nbsp;&nbsp;人民币</font></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">岗位要求</td>
            <td align="middle"><font color="#ff0000">*</font></td>
            <td align="left"><textarea class="input" id="Require" name="Require" rows="6" cols="80"><xsl:value-of select="rows/row/Require"/></textarea>
              <font color="#9e9e9e"><br />
              请保持在10-1000个字以内</font></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">有效时间</td>
            <td align="middle"><font color="#ff0000">*</font></td>
            <td align="left"><select class="inputbox" id="ValidDays" style="WIDTH: 80px" 
      name="ValidDays">
                <option value="7"><xsl:if test="rows/row/ValidDays=7"><xsl:attribute name="selected">1</xsl:attribute></xsl:if>一周</option>
                <option 
        value="15"><xsl:if test="rows/row/ValidDays=30"><xsl:attribute name="selected">1</xsl:attribute></xsl:if>半个月</option>
                <option value="30"><xsl:if test="rows/row/ValidDays=30"><xsl:attribute name="selected">1</xsl:attribute></xsl:if>一个月</option>
                <option 
        value="60"><xsl:if test="rows/row/ValidDays=60"><xsl:attribute name="selected">1</xsl:attribute></xsl:if>二个月</option>
                <option value="90"><xsl:if test="rows/row/ValidDays=7"><xsl:attribute name="selected">1</xsl:attribute></xsl:if>三个月</option>
                <option 
        value="180"><xsl:if test="rows/row/ValidDays=180"><xsl:attribute name="selected">1</xsl:attribute></xsl:if>半年</option>
                <option value="1000"><xsl:if test="rows/row/ValidDays=1000"><xsl:attribute name="selected">1</xsl:attribute></xsl:if>长期</option>
              </select>
              <font color="#9e9e9e">该岗位的有效时间</font></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">验证码</td>
            <td align="middle"><font color="#ff0000">*</font></td>
            <td align="left"><input name="vCode" id="vCode" type="text" size="8" title="请填写右边你看到的小写字母和数字"/>
              <img id="imgCode" src="/ImgCode.aspx" alt="看不清楚,请双击此处更换验证码!!!" align="absmiddle"  ondblclick="this.src='/ImgCode.aspx?'+Math.random();" /></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">&nbsp;</td>
            <td align="middle">&nbsp;</td>
            <td height="40" align="left"><input class="input_btn_reg" id="Submit1" type="button" value="保存" name="Submit1" ><xsl:attribute name="onclick"><xsl:if test="count(rows/row)=0">CompanyID.value=CurID.value;</xsl:if>if(saveContentCmd(this,form1,'管理招聘信息')==1){editListPt(editCPage,'供求列表','id='+CurID.value);xWin.closeWin('popEditContent');}</xsl:attribute></input>
              &nbsp; &nbsp;
              <input class="input_btn_reg" type="button" value="返回" name="button" onclick="editListPt(editCPage,'供求列表','id='+CurID.value);"/>
              <input name="editID" type="hidden" id="editID">
              <xsl:attribute name="value"><xsl:value-of select="rows/row/JobID"/>
              <xsl:if test="count(rows/row)=0">
                0
              </xsl:if>
              </xsl:attribute>
              </input>
              <input name="State" type="hidden" id="State">
              <xsl:attribute name="value"><xsl:value-of select="rows/row/State"/>
              <xsl:if test="count(rows/row)=0">
                0
              </xsl:if>
              </xsl:attribute>
              </input>
              <input name="Looked" type="hidden" id="Looked">
              <xsl:attribute name="value"><xsl:value-of select="rows/row/Looked"/>
              <xsl:if test="count(rows/row)=0">
                0
              </xsl:if>
              </xsl:attribute>
              </input>
              <input name="MyOrder" type="hidden" id="MyOrder">
              <xsl:attribute name="value"><xsl:value-of select="rows/row/MyOrder"/>
              <xsl:if test="count(rows/row)=0">
                0
              </xsl:if>
              </xsl:attribute>
              </input>
              <input name="CompanyID" type="hidden" id="CompanyID" >
			  <xsl:attribute name="value"><xsl:value-of select="rows/row/CompanyID"/>			  </xsl:attribute>
              </input></td>
          </tr>
        </tbody>
      </form>
    </table>
  </xsl:template>
</xsl:stylesheet>
